package com.fong.spring_cloud_consumer_feign.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient( "spring-cloud-producer" )
public interface HelloService {

	@RequestMapping( "/hello" )
	String seyHello( @RequestParam( "name" ) String name );
}
